package lcc.linkshare;



import java.util.ArrayList;

public class Offer {

	private ArrayList<Category> categories;
	private ArrayList<Promotiontype> promotiontypes;
	private String advertisername;
	private String advertiserID;
	private String offerdescription;

	public Offer() {
		categories = new ArrayList<Category>();
		promotiontypes = new ArrayList<Promotiontype>();
	}

	public ArrayList<Category> getCategories() {
		return categories;
	}

	public void setCategories(ArrayList<Category> categories) {
		this.categories = categories;
	}

	public ArrayList<Promotiontype> getPromotiontypes() {
		return promotiontypes;
	}

	public void setPromotiontypes(ArrayList<Promotiontype> promotiontypes) {
		this.promotiontypes = promotiontypes;
	}

	private String offerstartdate;
	private String offerenddate;
	private String clickurl;
	private String impressionpixel;
	private String networkid;
	private String network;
	private String couponcode;
	private String offerid;

	public String getAdvertisername() {
		return advertisername;
	}

	public void setAdvertisername(String advertisername) {
		this.advertisername = advertisername;
	}

	public String getAdvertiserID() {
		return advertiserID;
	}

	public void setAdvertiserID(String advertiserID) {
		this.advertiserID = advertiserID;
	}

	public String getOfferdescription() {
		return offerdescription;
	}

	public void setOfferdescription(String offerdescription) {
		this.offerdescription = offerdescription;
	}

	public String getOfferstartdate() {
		return offerstartdate;
	}

	public void setOfferstartdate(String offerstartdate) {
		this.offerstartdate = offerstartdate;
	}

	public String getOfferenddate() {
		return offerenddate;
	}

	public void setOfferenddate(String offerenddate) {
		this.offerenddate = offerenddate;
	}

	public String getClickurl() {
		return clickurl;
	}

	public void setClickurl(String clickurl) {
		this.clickurl = clickurl;
	}

	public String getImpressionpixel() {
		return impressionpixel;
	}

	public void setImpressionpixel(String impressionpixel) {
		this.impressionpixel = impressionpixel;
	}

	public String getNetworkid() {
		return networkid;
	}

	public void setNetworkid(String networkid) {
		this.networkid = networkid;
	}

	public String getNetwork() {
		return network;
	}

	public void setNetwork(String network) {
		this.network = network;
	}

	public String getCouponcode() {
		return couponcode;
	}

	public void setCouponcode(String couponcode) {
		this.couponcode = couponcode;
	}

	public String getOfferid() {
		return offerid;
	}

	public void setOfferid(String offerid) {
		this.offerid = offerid;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return " AdvertiserID=" + this.advertiserID + " Advertiser Name="
				+ this.advertisername + " Offerdescription= "
				+ this.offerdescription + " Offerstartdate= "
				+ this.offerstartdate + " Offerdenddate= " + this.offerenddate
				+ "Clickurl= " + this.clickurl + " Impressionpixel= "
				+ this.impressionpixel + " Networkid= " + this.networkid
				+ " Network= " + this.network + "Coupon Code="
				+ this.couponcode + "offerid=" + this.offerid;
	}
}
